{template header}
<h4 style="padding-left:10px;;">添加</h4>
<form class="form-horizontal clearfix form-inline" method="post" action="">
    <div class="control-group search-group">
        <label class="control-label" >群id：</label>
        <div class="controls">
            <input type="text" placeholder="" name="gid" value="">
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">备注：</label>
        <div class="controls">
            <textarea class="form-control" rows="3" name="remark"></textarea>
        </div>
    </div>
    <div class="control-group search-group">
        <div class="controls">
            <button class="btn" type="submit">提交</button>
        </div>
    </div>
</form>

<div class="bs-docs-example pt-20" style="clear:both;">
    <a class="btn" href="?c=admin&a=concernGroupsReport">查看总览</a>
    <table class="table table-striped">
        <thead>
            <tr>
                <th>群id</th>
                <th>备注</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {loop $concernGroup $k $v}
            <tr>
                <td>{$v['gid']}</td>
                <td>{$v['remark']}</td>
                <td>
                  <a class="btn" href="?c=admin&a=concernGroup&deleteId={$v['id']}">删除</a>
                  <a class="btn" href="?c=admin&a=concernGroupReportDetail&gid={$v['id']}">查看</a>
                </td>
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
{template footer}